/**
 * This function checks scrolls the page body to content div
 *
 ***************************************************************
 *  Example
 **************************************************************
 *  // attach function to click event
 *  $( "#mydiv" ).on( "click", index_scroll_anim );
 **************************************************************
 * @param {Object} event The triggered event
 * @author nicholas malacarne <nicholas.malacarne@gmail.com>
 */
function index_scroll_anim( event ){
    
    // position to scroll to (offset makes relative to doc) -nm
    var scrollTo = $( "#content" ).offset().top;
    
    // prevent the default action for the event -nm
    event.preventDefault();
    
    // scroll to specified location -nm
    $( "body" ).animate( { scrollTop: scrollTo }, 1000 );
}